package com.example.userservice;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * Spring Boot启动类
 * @MapperScan：扫描MyBatis的Mapper接口
 */
@SpringBootApplication
@MapperScan("com.example.userservice.dao")
public class UserServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(UserServiceApplication.class, args);
        System.out.println("用户管理服务启动成功！");
        System.out.println("访问地址: http://localhost:9099/api/users");
    }
} 